package com.superquan.selfstudybootmybatis.utils.factory.factory_method;

/**
 * @program: self-study-bootmybatis
 * @ClassName Client002
 * @description: 客户002
 * @author: zwq
 **/
public class Client002 {
    public static void main(String[] args) {
        //生成奥迪车，使用奥迪工厂
        Car aoDi = new AoDiFactory().createCar();
        aoDi.run();
        //生成宝马车，使用宝马工厂
        Car bmw = new BmwFactory().createCar();
        bmw.run();
    }
}
